/*
* Copyright (c)  2017, ueboot.com
* All rights reserved.
* 2017-11-02 17:23:48
*/
package com.ueboot.weishop.service.finance;

import com.ueboot.weishop.entity.finance.SettlementBatch;
import com.ueboot.core.service.BaseService;

import java.util.List;

/**
 * Created by yangkui  on 2017-11-02 17:23:48.
 * @author yangkui
 * @since 2.0 by autocode
 */
public interface SettlementBatchService extends BaseService<SettlementBatch> {

    SettlementBatch findTopByOrderBySettleDateDesc();

    List<SettlementBatch> findByStatusOrderByFirstInsertDesc(String status);

    SettlementBatch findTopByBatchNoOrderByFirstInsertDesc(String batchNo);
}
